﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace CSCV.Group8.BlogRollWebPart.UnitTest
{
    [TestFixture]
    public class TestFixtureBase
    {
        [TestFixtureSetUp]
        public void Init()
        {
            BRWPListTest BRWP = new BRWPListTest();
            BRWPListTest.CreateSite("BLOG#0", @"http://spfresher20/sites/sp", "BlogUnitTest1", "Blog for Unit Test - 1");
            BRWPListTest.CreateSite("BLOG#0", @"http://spfresher20/sites/sp", "BlogUnitTest2", "Blog for Unit Test - 2");
            //BRWP.LoadDataForBlog1(@"http://spfresher20/sites/sp/BlogUnitTest1");
            //BRWP.LoadDataForBlog2(@"http://spfresher20/sites/sp/BlogUnitTest2");
        }

        [TestFixtureTearDown]
        public void Dispose()
        {
            //BRWPListTest.DeleteSite(@"http://spfresher20/sites/sp/BlogUnitTest1");
            //BRWPListTest.DeleteSite(@"http://spfresher20/sites/sp/BlogUnitTest2");
        }
    }
}
